package com.yunfeisoft.business.service.impl;

import com.yunfeisoft.business.dao.inter.OutHospitalReceiptDao;
import com.yunfeisoft.business.model.OutHospitalReceipt;
import com.yunfeisoft.business.service.inter.OutHospitalReceiptService;
import com.yunfeisoft.common.base.BaseServiceImpl;
import com.yunfeisoft.common.sql.separation.DataSourceChange;
import com.yunfeisoft.common.utils.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * ClassName: OutHospitalReceiptServiceImpl
 * Description: 老人出院结算单service实现
 * Author: Jackie liu
 * Date: 2020-06-05
 */
@Service("outHospitalReceiptService")
public class OutHospitalReceiptServiceImpl extends BaseServiceImpl<OutHospitalReceipt, String, OutHospitalReceiptDao> implements OutHospitalReceiptService {

    @Override
    @DataSourceChange(slave = true)
    public Page<OutHospitalReceipt> queryPage(Map<String, Object> params) {
        return getDao().queryPage(params);
    }
}